include(FindPkgConfig)
pkg_check_modules(MYSQLCLIENT mysqlclient)
if (NOT MYSQLCLIENT_FOUND)
    message(STATUS "mysql disabled: not found mysqlclient")
    return()
endif ()

include_directories(${MYSQLCLIENT_INCLUDE_DIRS})
link_libraries(${MYSQLCLIENT_LIBRARIES})

add_subdirectory(mysql_pool)
